home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-19 | 2.6 KB | 140 lines | [TEXT/MPS ] |
- /*
- File: SCPCHeaders.pch
-
- Contains: OpenDocâ„¢ sample code pre-compiled header
-
- Written by: Steve Smith
-
- Copyright: © 1994,95 by Apple Computer, Inc., all rights reserved.
- */
-
- // -- Compiler/Preprocessor Switches --
-
- // Just before you are ready to ship, uncomment the line below.
- // Doing so will remove all the SampleCode_SamplePartMethodDebug()
- // lines from the generated code.
- // Note: The _RETAIL switch can be found in somcdev.h
- //#define _RETAIL
-
- // ODDebug must be defined because we are using Except.cpp & ODDebug.cpp.
- #ifdef _RETAIL
- // turn off debugging
- #ifndef ODDebug
- #define ODDebug 0
- #endif
- #else
- // turn on debugging
- #ifndef ODDebug
- #define ODDebug 1
- #endif
- #endif
-
- // We should no longer be using the "old" routine names/structs.
- #ifndef OLDROUTINENAMES
- #define OLDROUTINENAMES 0
- #endif
- #ifndef OLDROUTINELOCATIONS
- #define OLDROUTINELOCATIONS 0
- #endif
-
- // Some public headers #ifdef out structs not useful to other platforms.
- #ifndef _PLATFORM_MACINTOSH_
- #define _PLATFORM_MACINTOSH_ 1
- #endif
-
- // If you use the STDTypIO utility, you must define the platforms
- // endian-ness.
- #ifndef _PLATFORM_BIG_ENDIAN_
- #define _PLATFORM_BIG_ENDIAN_ 1
- #endif
-
- // There is an apparent bug in the ConditionalMacros.h v2.1 header. This
- // prevents the Symantec 8.0 C++ compiler from exporting symbols. To work
- // around the problem, we define PRAGMA_IMPORT_SUPPORTED.
- #if defined(__SC__)
- #define PRAGMA_IMPORT_SUPPORTED 1
- #endif
-
- // -- OpenDoc Includes --
-
- #ifndef _EXCEPT_
- #include "Except.h"
- #endif
-
- #ifndef _QDFIXM_
- #include <QDFixM.h>
- #endif
-
- #ifndef _ODTYPES_
- #include <ODTypes.h>
- #endif
-
- #ifndef SOM_ODPart_h
- #include <Part.h>
- #endif
-
- #ifndef SOM_ODFacet_h
- #include <Facet.h>
- #endif
-
- #ifndef SOM_ODFrame_h
- #include <Frame.h>
- #endif
-
- #ifndef SOM_ODShape_h
- #include <Shape.h>
- #endif
-
- #ifndef SOM_Module_OpenDoc_StdProps_defined
- #include <StdProps.h>
- #endif
-
- #ifndef SOM_Module_OpenDoc_StdTypes_defined
- #include <StdTypes.h>
- #endif
-
- #ifndef _STDDEFS_
- #include <StdDefs.h>
- #endif
-
- #ifndef SOM_Module_OpenDoc_Commands_defined
- #include <CmdDefs.h>
- #endif
-
- #ifndef SOM_ODDraft_h
- #include <Draft.h>
- #endif
-
- #ifndef SOM_ODStorageUnit_h
- #include <StorageU.h>
- #endif
-
- #ifndef SOM_ODTransform_h
- #include <Trnsform.h>
- #endif
-
- #ifndef SOM_ODMenuBar_h
- #include <MenuBar.h>
- #endif
-
- #ifndef SOM_ODWindow_h
- #include <Window.h>
- #endif
-
- #ifndef SOM_ODSession_h
- #include <ODSessn.h>
- #endif
-
- // -- Toolbox Includes --
-
- #include <Dialogs.h>
- #include <Errors.h>
- #include <Icons.h>
- #include <LowMem.h>
- #include <Menus.h>
- #include <Quickdraw.h>
- #include <Resources.h>
- #include <ToolUtils.h>
- #include <Types.h>
- #include <Windows.h>
-